﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example04_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            CRectangle recta = new CRectangle(3, 4);
            CRectangle rectb = new CRectangle(5,6);
            recta = rectb;

            Console.WriteLine("rect a: {0}", recta.Area());
            Console.WriteLine("rect b: {0}", rectb.Area());
        }
    }
}
